Skip to content

Make protected-main doctor completion actually clear stale-lock warnings#41

Merged
NagyVikt merged 1 commit intomainfrom
agent/codex/20260412-014023-grepolis-megkapja-hu-doctor-sandbox-lock-sync-and-musafe-wording-fix
Apr 11, 2026
Merged

Make protected-main doctor completion actually clear stale-lock warnings#41
NagyVikt merged 1 commit intomainfrom
agent/codex/20260412-014023-grepolis-megkapja-hu-doctor-sandbox-lock-sync-and-musafe-wording-fix

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Automated by scripts/agent-branch-finish.sh (PR flow).

Sandbox doctor runs repaired lock state in a worktree, but base main kept stale lock entries and stayed degraded. This change syncs the repaired lock registry back to the protected workspace and tightens completion language from 'musafe' to 'safe'.

Constraint: Protected main must stay read-only for direct maintenance writes

Rejected: Force in-place doctor writes on main | violates protected-base workflow

Confidence: high

Scope-risk: moderate

Reversibility: clean

Directive: Keep doctor JSON output machine-readable when adding new completion metadata

Tested: node --check bin/multiagent-safety.js; node --test test/metadata.test.js; manual doctor->scan on /home/deadpool/Documents/multiagent-safety

Not-tested: full npm test (existing file-level failures in test/install.test.js and test/fuzzing.test.js)
@NagyVikt NagyVikt merged commit 56a9424 into main Apr 11, 2026
7 checks passed
@NagyVikt NagyVikt deleted the agent/codex/20260412-014023-grepolis-megkapja-hu-doctor-sandbox-lock-sync-and-musafe-wording-fix branch April 11, 2026 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant